﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DeviceManager.DB.Model
{
    /// <summary>
    /// 统计数据
    /// </summary>
    class StatisticsDataNode
    {
        /// <summary>
        /// 统计日期
        /// </summary>
        public DateTime sumDate;
        /// <summary>
        /// 统计日期
        /// </summary>
        public string SumDate
        {
            get
            {
                return sumDate.ToString("yyyy-MM-dd");
            }
            set
            {
                DateTime.TryParse(value, out sumDate);
            }
        }

        /// <summary>
        /// 值
        /// </summary>
        public int Value { get; set; }
    }
}
